<template>
  <div id="container">
    <Header :back="true"></Header>
    <div class="items">
      <div class="item van-hairline--bottom van-hairline--top">
        <div>姓名</div>
        <div>顾汐</div>
      </div>
      <div class="item van-hairline--bottom">
        <div>职位</div>
        <div>财税专员</div>
      </div>
      <div class="item van-hairline--bottom">
        <div>工号</div>
        <div>290</div>
      </div>
      <div class="item van-hairline--bottom">
        <div>联系电话</div>
        <div @click="callPhone('13205690692')" style="color:#10aeff">13205690692</div>
      </div>
      <div class="item van-hairline--bottom">
        <div>微信号</div>
        <div>13205690692</div>
      </div>
      <div class="item van-hairline--bottom">
        <div>QQ号</div>
        <div>3339328563</div>
      </div>
    </div>
  </div>
</template>

<script>
import Header from "@/components/header";
export default {
  components: {
    Header,
  },
  methods: {
    callPhone(phoneNumber) {
      window.location.href = "tel://" + phoneNumber;
    },
  },
};
</script>

<style lang="less" scoped>
.avatar_name {
  display: flex;
  height: 10rem;
  padding: 1rem 0;
  box-sizing: border-box;
  margin-bottom: 2rem;
  .avatar {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    img {
      width: 7rem;
      height: 7rem;
      background-color: #fff;
      border-radius: 50%;
    }
  }
  .name {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    .position {
      font-weight: bold;
      color: #333;
    }
  }
}

.items {
  .item {
    height: 4rem;
    line-height: 4rem;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
  }
}
</style>